#ifndef NONEWINDOW_H
#define NONEWINDOW_H

#include <QWidget>

namespace Ui {
    class NoneWindow;
}
// #include <data/UserInfo.h>
// #include <packet/Packet.h>
// #include <packet/message/Message.h>
#include <data/UserInfo.pb.h>
#include <module/basicwindows.h>

class NoneWindow : public QWidget {
    Q_OBJECT

private:
    Ui::NoneWindow* ui;

public:
    explicit NoneWindow(QWidget* parent = nullptr);
    ~NoneWindow();

public:
    void setTitle(QString title);
    void setUserId(QString userid);

private:
    void init();

    void onButtonCloseClicked();
    void onButtonMaxClicked();
    void onButtonMinClicked();
    void onButtonRestoreClicked();

signals:
    void signalButtonCloseClicked();
    void signalButtonMaxClicked();
    void signalButtonMinClicked();
    void signalButtonRestoreClicked();

public slots:
    void onWindowRestore();

private:
    
};

#endif  // NONEWINDOW_H
